home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1995 April / Internet Tools.iso / infoserv / www / cern / dev / www-talk.9301-9306.Z / www-talk.9301-9306 / text0701.txt < prev    next >
Encoding:
Text File  |  1995-04-24  |  1.1 KB  |  27 lines

  1. >What I think xmosaic does is:  it creates both a fixed window as above,
  2. >then creates a huge-ass window as a child window.  It connects the
  3. >scrollbar to the child window, and allows the user to scroll the child
  4. >window around, instead of scrolling the text around.  This is a *much*
  5. >simpler way of doing things,
  6.  
  7. Yes.  So far your story is correct.
  8.  
  9. >but now X *will* allocate an internal
  10. >backing pixmap for that child window, even without backing store, and
  11. >without all of it being exposed.  So you're using one huge amount of
  12. >memory.
  13.  
  14. Wrong.  X does NOT allocate pixmaps just because you create a giant
  15. window.  It remembers the size of the window and gives you expose
  16. events when parts of the window become visible.  It does not even
  17. allocate a pixmap for the visible part (since that's put directly in
  18. screen memory).  What do you think exposure events were good for if
  19. the server allocated a pixmap?  Soure that would be getting the worst
  20. of two worlds!
  21.  
  22. I'll let Marc answer your attacks on XMosaic, but your knowledge of X
  23. is less than what I expected.
  24.  
  25. --Guido van Rossum, CWI, Amsterdam <Guido.van.Rossum@cwi.nl>
  26.  
  27.